class Employee(object):
    def __init__(self, name, number, salary):
        self.name = name
        self.number = number
        self.salary = salary

    def pay(self):
        pass

    def print(self):
        pass


class Manager(Employee):
    def pay(self):
        print("Manager's salary is", self.salary)

    def print(self):
        print("A Manager:", self.name, self.number)


class Salesman(Employee):
    def pay(self):
        print("Salesman's salary is", self.salary)

    def print(self):
        print("A Salesman:", self.name, self.number)


if __name__ == "__main__":
    manager = Manager("nofind", 2021217903, 50000)
    salesman = Salesman("anofinda", 2021217904, 10000)
    l = [manager, salesman]
    for employee in l:
        employee.pay()
        employee.print()
